package com.crm.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.crm.domain.role.SysRole;
import com.crm.crm.domain.SysUser;
import com.crm.crm.domain.dto.UserPageQueryParam;
import com.crm.crm.domain.dto.UserStatusDto;
import com.crm.crm.domain.vo.UserExcelVo;
import com.crm.crm.domain.vo.UserVo;
import com.crm.crm.domain.vo.business.result.TableDataInfo;

import java.util.List;

public interface  UserService extends IService<SysUser> {
    //根据部门ID查询员工表员工信息
    List<SysUser> getOwner(Integer deptId);


    TableDataInfo<UserVo> pageQuery(UserPageQueryParam userPageQueryParams);

    List<SysRole> findAllRoles();

    void saveBatchRoleIds(Long userId, List<Long> roleIds);

    List<Long> selectRoleIds(Integer id);

    void changeStatus(UserStatusDto userStatusDto);

    void resetPwd(String password,Long userId);

    void deleteRoleIds(Long userId);

    List<UserExcelVo> getExcelData(UserPageQueryParam userPageQueryParam);



}
